package com.kaka.bus.engine.borrow.person;

import android.app.Activity;

import com.kaka.bus.bean.City;
import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.Map;

/**
 * Created by zhangqi on 2017/12/21.
 * e-mail : ${email}
 * desc :
 */

public interface PersonContract {

    interface View extends BaseView{
        void sendSuccess(HttpWrapper<String> bean);
        void readCityError(Throwable error);
        void readCitySuccess(City city);

    }

    interface Presenter extends BasePresenter<View>{
        void sendService(Map<String,String> map,String token);
        void getCity();

        void router(Activity activity);

    }

}
